home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 54_ftp < prev    next >
Text File  |  2006-06-21  |  261b  |  17 lines

  1. #!/bin/sh
  2. #
  3. # start ftp server
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. # get options
  8. test -f /etc/network || exit 1
  9. . /etc/network
  10.  
  11. if test "$FTP_SERVER" = "yes" -a -f /etc/bftpd.conf; then
  12.   echo "### Starting FTP server ###"
  13.   bftpd -d -c /etc/bftpd.conf &
  14. fi
  15.  
  16. exit 0
  17.